/**
*@Author: QWP
*@Description: 短信配置相关接口
*@Date 2024-09-12 15:04
*/
import request from '@/http'

// 地区有效树
export const page = async (data: any) => {
  return await request.post({
    url:'/api/bizz/meTMessageSendstatus/page',
    data
  })
}

// 新增
export const add = async (data: object) => {
  return await request.post({
    url: '/api/bizz/meTMessageSendstatus',
    data: data
  })
}

// 修改
export const update = async (data: object) => {
  return await request.post({
    url: '/api/bizz/meTMessageSendstatus/update',
    data: data
  })
}

// 删除
export const del = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/meTMessageSendstatus/delete',
    data,
    headersType: 'application/x-www-form-urlencoded'
  })
}

// 单体查询
export const query = async (data: any) => {
  return await request.get({
    url: '/authority/sysTDept' + data,
  })
}
